setInterval(function () {
    !function () {
        var x = document.querySelector(".TOOLBOXMH");
        var t = "";
        if (x) t = x.innerHTML;
        else {
            x = document.createElement("style");
            x.classList.add("TOOLBOXMH");
            document.head.append(x);
        };
        var css = [].slice
            .call(document.querySelectorAll(".blocklyToolboxContents>*"))
            .filter(v => !!v.children[0])
            .map((v) => {
                return [
                    v.getAttribute("aria-labelledby"),
                    v.children[0].children[0].children[0].style.backgroundColor
                ];
            })
            .map((v) => {
                var id = `.blocklyToolboxContents>*[aria-labelledby="${v[0]}"]`;
                var color = v[1];
                var color_o = v[1].replace(")", ", 0.15)");
                return `${id} .blocklyTreeRow:hover{background-color:${color_o}!important}${id}[aria-selected="true"] .blocklyTreeRow{background-color:${color}!important}`;
            }).join("");
        if (t != css) {
            x.innerHTML = css;
        }
    }();
}, 500);
